
    <ul id="list_search_df" class="data_item_search">
    <?php

            foreach($records as $key=>$item){
    ?>
                <li>
                    <div class="img_s_left">
                        <a href="<?php echo get_post_detail_url($item['id'],$item['name']) ?>" target="_blank">
                            <img src="<?php echo $item['image'] ?>" border="0" alt="<?php echo $item['name'] ?>" style="margin:0 3px 3px 0">
                        </a>
                    </div>
                    <div class="content_s_right">
                        <h2 class="s_name" style="margin-bottom: 4px">
                            <a href="<?php echo get_post_detail_url($item['id'],$item['name']) ?>" title="<?php echo $item['name'] ?>" target="_blank">
                                <?php echo $item['name'] ?>
                            </a>
                        </h2>
                        <span class="s_price"><?php echo $item['promotion']; ?> VNĐ</span>
                        <span class="s_create_date">
                            <?php echo getLabelProvinder($item['provinder_id'],true) ?> | <?php echo date('d.m.Y',$item['modifyTime']) ?>
                        </span>
                        <span class="s_name_shop"><?php echo getByShop($item['user_id'],2); ?></span>
                    </div>
                </li>
            <?php } ?>
    </ul>
    <div class="divFooter clear"><?php  echo $pagination; ?></div>
